package cn.bsuc.crm.entity;

import cn.bsuc.crm.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * 客户订单表
 */
@Data
@TableName("t_customer_order")
public class CustomerOrder extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer cusId; // 客户 id

    private String orderNo; // 订单编号

    private LocalDateTime orderDate; // 下单时间

    private String address; // 地址

    private Integer state; // 状态

    private Integer isValid;


}
